Skip to content

feat: shared workspaces support#957

Open
aslilac wants to merge 1 commit into
mainfrom
lilac/shared-workspaces
Open

feat: shared workspaces support#957
aslilac wants to merge 1 commit into
mainfrom
lilac/shared-workspaces

Conversation

@aslilac
Copy link
Copy Markdown
Member

@aslilac aslilac commented May 15, 2026

Adds a third tree view, Shared Workspaces, that lists workspaces the current user has access to but does not own. The view is visible to any authenticated user, sits between My Workspaces and All Workspaces, and reuses the existing context-menu actions and refresh/search affordances.

Implementation notes
  • New WorkspaceQuery.Shared = "shared:true" value; the provider filters out workspaces owned by the current user client-side, because shared:true server-side also matches workspaces the current user shared out.
  • DeploymentManager exposes getCurrentUserId() so the new provider can scope the filter to the active session; this is cleared on logout/suspend.
  • coder.refreshWorkspaces now also refreshes the new view.

Generated with Coder Agents on behalf of @aslilac.

Adds a third tree view, Shared Workspaces, that lists workspaces the
current user has access to but does not own. Visible to any
authenticated user (unlike All Workspaces, which is admin-only).

Generated with Coder Agents on behalf of @aslilac.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant